def shiheyong():
    nums = list(map(int, input("请输入整数，以逗号分隔：").split(",")))
    target = int(input("请输入目标值："))
    n = len(nums)
    for i in range(0, n):
        for j in range(i + 1, n):
            if nums[i] + nums[j] == target:
                return [i, j]
    return "没有找到符合条件的两个数"

print(shiheyong())
